Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRMouseLeave

You can use the QTVRMouseLeave function to handle the user's moving the cursor out of a QuickTime VR movie for which mouse-over tracking is disabled.

OSErr QTVRMouseLeave (QTVRInstance qtvr, Pointpt, WindowPtr w);
qtvr
An instance of a QuickTime VR movie.
pt
The current location of the cursor, in the local coordinates of the graphics world specified by the w parameter.
w
A pointer to a graphics world.
function result
A result code.

DESCRIPTION

The QTVRMouseLeave function performs any tasks that are typically performed when the user moves the cursor out of a QuickTime VR movie.

SPECIAL CONSIDERATIONS

You need to call QTVRMouseLeave only if you have disabled mouse-over tracking for the specified QuickTime VR movie.

SEE ALSO

Use QTVRSetMouseOverTracking (link) to change the mouse-over tracking state of a QuickTime VR movie. Use QTVRMouseEnter (link) and QTVRMouseWithin (link) to handle the cursor's entering and remaining in a QuickTime VR movie.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |